package com.geovis.emergency.spd.entity.pc.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.geovis.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 应急预案指挥模块 -  演练组织架构与成员单元人员
 * </p>
 *
 * @author Lonsho
 * @since 2022-07-11
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("pc_drill_duty_user")
@ApiModel(value = "PcDrillDutyUser对象", description = "应急预案指挥模块 -  演练组织架构与成员单元人员")
public class PcDrillDutyUser extends BaseEntity {

    @ApiModelProperty("演练id")
    private String pcDrillId;

    @ApiModelProperty("演练组织架构id")
    private String pcDrillOrgId;

    @ApiModelProperty("部门id")
    private String deptId;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("责职")
    private String duty;

    @ApiModelProperty("负责人id")
    private String principalIds;

    @ApiModelProperty("负责人名称")
    private String principalNames;

    @ApiModelProperty("负责人手机号")
    private String principalPhones;

    @ApiModelProperty("数据状态（1-启用 2-停用）")
    private String dataStatus;

    @ApiModelProperty("创建部门")
    @TableField(fill = FieldFill.INSERT,  updateStrategy = FieldStrategy.NEVER)
    private String createDept;
}
